<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<body>
	<h:form id="menu" dir="RTL">
		<p:menubar  autoSubmenuDisplay="true" id="menu" style="font-size:small">
			<p:menuitem value="#{msgs.Administration_administrationMenu_Home}"
				immediate="true" ajax="false" url="/controlling/index.xhtml"
				icon="ui-icon-gear" onstart="waiteDialog.show()" />

			<p:submenu label="#{aqarMsgs.Aqarat_Menu_Buildings}" icon="ui-icon-gear">
				<p:menuitem value="#{aqarMsgs.Aqarat_Menu_Buildings_AddBuilding}"
					url="/controlling/aqarat/createBuilding.xhtml"
					icon="ui-icon-plusthick" immediate="true"
					onstart="waiteDialog.show()" /> 
				<p:menuitem value="#{aqarMsgs.Aqarat_Menu_Buildings_AllBuildings}"
					url="/controlling/aqarat/building.xhtml" icon="ui-icon-plusthick"
					immediate="true" onstart="waiteDialog.show()" />
			</p:submenu> 
			<p:submenu label="#{aqarMsgs.Aqarat_Menu_Apartments}" icon="ui-icon-gear">
				<p:menuitem value="#{aqarMsgs.Aqarat_Menu_Apartments_AllApartments}" 
					url="/controlling/aqarat/apartment.xhtml" icon="ui-icon-gear"
					immediate="true" onstart="waiteDialog.show()" />
			</p:submenu>
			<p:submenu label="#{aqarMsgs.Aqarat_Menu_Customers}" icon="ui-icon-gear">
				<p:menuitem value="#{aqarMsgs.Aqarat_Menu_Customers_AddCustomer}"
					url="/controlling/aqarat/customerDetails.xhtml"
					icon="ui-icon-plusthick" immediate="true"
					onstart="waiteDialog.show()" />
				<p:menuitem value="#{aqarMsgs.Aqarat_Menu_Customers_CustomerSearch}"
					url="/controlling/aqarat/customerSearch.xhtml"
					icon="ui-icon-search" immediate="true" onstart="waiteDialog.show()" />
			</p:submenu>
			<p:submenu label="#{aqarMsgs.Aqarat_Menu_Payments}" icon="ui-icon-gear">
				<p:menuitem value="#{aqarMsgs.Aqarat_Menu_Payments_CustomerPayments}"
					url="/controlling/aqarat/payments.xhtml" icon="ui-icon-search"
					immediate="true" onstart="waiteDialog.show()" />
			</p:submenu>
			<p:submenu label="#{aqarMsgs.Aqarat_Menu_Expenses}" icon="ui-icon-gear">
				<p:menuitem value="#{aqarMsgs.Aqarat_Menu_Expenses_AddExpenses}"
					url="/controlling/aqarat/createExpenses.xhtml"
					icon="ui-icon-plusthick" immediate="true"
					onstart="waiteDialog.show()" />
				<p:menuitem value="#{aqarMsgs.Aqarat_Menu_Expenses_SearchExpenses}"
					url="/controlling/aqarat/expensesSearch.xhtml"
					icon="ui-icon-search" immediate="true" onstart="waiteDialog.show()" />
			</p:submenu>
		</p:menubar>
	</h:form>
</body>
</html>